package com.coder.rental.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coder.rental.entity.CarInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 汽车信息 Mapper 接口
 * </p>
 *
 * @author zhaojj
 * @since 2025-01-10
 */
public interface CarInfoMapper extends BaseMapper<CarInfo> {

    Page<CarInfo> searchByPage(@Param("page") Page<CarInfo> page,
                               @Param("carInfo") CarInfo carInfo);

    List<CarInfo> toBeMaintain();
}
